package com.example.testblog.service;

import com.example.testblog.entity.Type;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface TypeService {



 Page<Type> listType(Pageable pageable);
 Type saveType(Type type);
 Type getType( Long id);
public List<Type> listType();
 Type updateType(Long id ,Type type);
void  deleteType(Type id);

}
